<!DOCTYPE html>
<html>

<head>
    <title>
        <%= title %>
    </title>
</head>

<body>
    <h1>
        <!-- 插值语句 -->
        <%= title %>
    </h1>

    <% if(isLogin){  %>
        欢迎,             <%= user %>
    <% }else{        %>
        <a href="">去登录</a>
    <% }          %>

</body>

</html>